package gatoropoly.game.action;

import gatoropoly.game.Gatoropoly;

public class DisconnectAction extends GatoropolyClientAction{

	public DisconnectAction(Gatoropoly client) {
		super(client, "Disconnect");
	}

	public void perform() {
		client.disconnect();
	}

	public boolean canPerform() {
		return client.isConnected();
	}

}
